package com.shengyin.ec.model.dao.cluster;

import java.util.List;

import com.shengyin.ec.model.dao.BaseDao;
import com.shengyin.ec.model.entity.ChainCompany;
import com.shengyin.ec.model.entity.Company;

public interface ChainCompanyDao extends BaseDao<ChainCompany> {
	
	public void createChainCompany(ChainCompany chainCompany);

	public List<ChainCompany> getChainCompanyList();

	public boolean checkChainCompanyUser(String username, String pwd);

	public List<ChainCompany> getChainCompanyList(int offset, int pagesize);

	public List<ChainCompany> getChainCompany(int status, int offset,
			int pagesize);

	public void deleteSelectedChainCompany(Long[] idsl);

	public List<ChainCompany> getChainCompanyByName(String username);

	public List<ChainCompany> getChainCompanyListByChainCompanyId(long id);

	public Long getTotal();
	
    public List<ChainCompany> getChainCompanyListByCluster(long clusterCompanyid,int offset,int pageSize);
	
	public List<ChainCompany> getChainCompanyListByCluster(long clusterCompanyid);
	
    public List<ChainCompany> searchChainByName(String[] paramValues ,int offset,int pageSize);
	
	public List<ChainCompany> searchChainByName(String[] paramValues);
}
